<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2022/3/10
 * Time: 10:38
 */

namespace app\api\validate;

use think\Validate;
class Scheme extends Validate
{
    protected $rule = [
//        'time'  => 'require',//|unique:User
//        'area' => 'require',
//        'number_people' => 'require',
        'unit_name' => 'require',
        'mobile' => 'require',
        'name' => 'require',
    ];

    /**
     * 提示消息
     */
    protected $message = [
//        'time.require' => '时间不能为空',
//        'area.unique' => '地点不能为空',
//        'number_people.require' => '人数不能为空',
        'unit_name.require' => '单位名称不能为空',
        'mobile.require' => '联系电话不能为空',
        'name.require' => '联系人不能为空',
    ];
}